(display_line): Replace an unconditional abort with an assertion.
authorRichard M. Stallman <rms@gnu.org>
Mon, 22 Jul 2002 16:12:31 +0000 (16:12 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 22 Jul 2002 16:12:31 +0000 (16:12 +0000)
src/xdisp.c

index 4e52d39c908426727652224e1902a3175afb14f9..cf538ed92412fe85d6aa5255276f38c3e97ea5e8 100644 (file)
@@ -13229,9 +13229,10 @@ display_line (it)
                {
                  /* Glyph is completely off the left margin of the
                     window.  This should not happen because of the
-                    move_it_in_display_line at the start of
-                    this function.  */
-                 abort ();
+                    move_it_in_display_line at the start of this
+                    function, unless the text display area of the
+                    window is empty.  */
+                 xassert (it->first_visible_x <= it->last_visible_x);
                }
            }